home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / earthlink / nscomm / java40.jar / netscape / plugin / Plugin.class (.txt)
Encoding:
Java Class File  |  1997-11-03  |  557 b   |  27 lines

  1. package netscape.plugin;
  2.  
  3. import netscape.javascript.JSObject;
  4.  
  5. public class Plugin {
  6.    int peer;
  7.    JSObject window;
  8.  
  9.    public int getPeer() {
  10.       return this.peer;
  11.    }
  12.  
  13.    public void init() {
  14.    }
  15.  
  16.    public void destroy() {
  17.    }
  18.  
  19.    public boolean isActive() {
  20.       return this.peer != 0;
  21.    }
  22.  
  23.    public JSObject getWindow() {
  24.       return this.window;
  25.    }
  26. }
  27.